Skip to content

[codex] Harden ledger state handling#7

Merged
baskduf merged 2 commits into
mainfrom
codex/ledger-hardening
Jun 18, 2026
Merged

[codex] Harden ledger state handling#7
baskduf merged 2 commits into
mainfrom
codex/ledger-hardening

Conversation

@baskduf

@baskduf baskduf commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Harden goal and findings ledgers with state locking, atomic JSON writes, schema validation, and safer force replacement behavior.
  • Strengthen final findings gate behavior and coverage parsing edge cases.
  • Align release, contributor, README, and provider bridge examples with current package behavior.

Why

Review found several failure modes where malformed or concurrent state could produce tracebacks, dropped findings, or incorrect completion behavior. Documentation examples also had stale or overly concrete values that could mislead maintainers and users.

Validation

  • python3 -m unittest discover -s tests -v
  • python3 -m py_compile plugins/codex-fable5/skills/codex-fable5/scripts/codex_findings.py plugins/codex-fable5/skills/codex-fable5/scripts/codex_goals.py plugins/codex-fable5/skills/codex-fable5/scripts/fable_coverage.py plugins/codex-fable5/skills/codex-fable5/scripts/make_litellm_config.py tests/test_scripts.py
  • python3 plugins/codex-fable5/skills/codex-fable5/scripts/fable_coverage.py
  • sh -n plugins/codex-fable5/bin/codex-fable5 && sh -n plugins/codex-fable5/bin/codex-findings && sh -n plugins/codex-fable5/bin/codex-goals
  • git diff --check

@baskduf baskduf marked this pull request as ready for review June 18, 2026 04:54
@baskduf baskduf merged commit dc00fee into main Jun 18, 2026
3 checks passed
@baskduf baskduf deleted the codex/ledger-hardening branch June 18, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant